package Connections;

import java.net.Socket;

/**
 * Abstract class to deal with new connections at a server (peer server or
 * tracker).
 *
 * @author Rodrigo Martins Racanicci
 */
public abstract class ConnectionHandler extends Thread {

    /**
     * Client Socket.
     */
    protected Socket client;

    /**
     * Own constructor.
     *
     * @param client Client socket.
     */
    public ConnectionHandler(Socket client) {
        this.client = client;
    }
}
